<?php
return [
    'interview' => [
        'real_name' => 'required|max:50|min:2',
        'dept_id' => 'required|numeric|digits_between:1,10',
        'mobile' => 'required|numeric|digits:11',
        'email' => 'required|email|max:255',
        'birthday' => 'required|date',
        'channel' => 'required|max:20',
        'sex' => 'required|numeric|digits:1',
        'ethnic' => 'required|max:50',
        'arrival_time' => 'required|date',
        'height' => 'required|numeric|between:100,300',
        'weight' => 'required|numeric|between:20,500',
        'native_place' => 'required|max:100',
        'identity_card' => 'required|max:18',
        'marital_status' => 'required|digits:1',
        'permanent_address' => 'required|max:255',
        'residence' => 'required|max:255',
        'skill_certificate' => 'required|max:255',
        'foreign_languages' => 'required|max:255',
        'exigence_mobile' => 'required|numeric|digits_between:6,20',
        'highest_degree' => 'required|numeric|digits:1',
        'professional' => 'required|max:20',
        'ranking' => 'required|max:50',
        'graduation_date' => 'required|date',
        'rank' => 'required|max:30',
        'expected_salary' => 'required|numeric|digits_between:0,8',
        'original_unit_relation' => 'required|numeric|digits:1',
        'expected_team' => 'max:255',
        'sign' => 'required',
        'career_plan' => 'max:255',
        // 教育背景
        'educational.*.start_at' => 'required|date',
        'educational.*.stop_at' => 'required|date',
        'educational.*.school' => 'required|max:255',
        'educational.*.education' => 'required|max:30',
        'educational.*.profession' => 'required|max:30',
        'educational.*.years' => 'required|numeric|digits_between:0,3',
        // 家庭成员
        'family.*.relation' => 'required|max:20',
        'family.*.name' => 'required|max:50',
        'family.*.work_unit' => 'required|max:50',
        'family.*.rank' => 'required|max:50',
        'family.*.birthday' => 'required|date',
        'family.*.mobile' => 'required|numeric|digits_between:6,20',
        //履历
        'experience.*.start_at' => 'required|date',
        'experience.*.stop_at' => 'required|date',
        'experience.*.company' => 'required|max:50',
        'experience.*.position' => 'required|max:50',
        // 'experience.*.voucher' => 'required|max:40',
        'experience.*.mobile' => 'required|max:20,min:6',
        'experience.*.reasons_for_leaving' => 'required|max:150',
        'experience.*.salary' => 'required|numeric|digits_between:1,12',
        'experience.*.bonus' => 'required|numeric|digits_between:1,12',
        'experience.*.year_bonus' => 'required|numeric|digits_between:1,12',
    ],
    'exam' => [
        'dept_id' => 'required|numeric',
        'title' => 'required|max:255',
        'score_count' => 'required|numeric',
        'quiz_time' => 'required|numeric',
        'topic.*.topic_title' => 'required|max:255',
        'topic.*.score' => 'required|numeric',
        'topic.*.status' => 'required|numeric',
        'topic.*.sort' => 'required|numeric',
        'topic.*.option' => 'array',
        'topic.*.option.*.content' => 'required|max:255',
        'topic.*.option.*.sort' => 'required|numeric',
        'topic.*.option.*.is_true' => 'required|numeric',
    ],
];
